//
//  NetworkOperation.h
//  iMAL
//
//  Created by Stefano Pigozzi on 2/1/09.
//  Copyright 2009 __MyCompanyName__. All rights reserved.
//

#import <Cocoa/Cocoa.h>
#import <RegexKit/RegexKit.h>
#import "MALHandler.h"

@interface NetworkOperation : NSOperation {

	NSString * url;
	NSManagedObjectContext * context;
	MALHandler * mal;
	
}

@property (copy) NSString *url;
@property (retain) NSManagedObjectContext * context;
@property (retain) MALHandler * mal;

-(NetworkOperation *) initWithUrl:(NSString *) initurl managedObjectContex:(NSManagedObjectContext *) initcontext malHandler: (MALHandler *) initmal;

@end
